/** Global Style **/
* {
  font-family: "Microsoft Yahei";
}
body {
  display: none;
}

.main-body {
  display: block;
  padding-top: 50px;
}
.sub-header {
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}

/* Form Check
----------------------------*/
.form-check .alert {
  border-radius: 0;
}
.form-check .alert.alert-danger {
  padding: 0;
  margin-bottom: 4px;
  border: none;
  background: none;
}

/* Component: Nav
----------------------------*/
/* NAV PILLS */
.nav-pills > li > a {
  border-radius: 0;
}
/* NAV STACKED */
.nav-stacked > li > a {
  border-radius: 0;
}
/* PAGINATION */
.pagination.pagination-flat > li > a {
  border-radius: 0 !important;
}

/* Component: ngDialog
----------------------------*/
.ngdialog .ngdialog-content,
.ngdialog.ngdialog-theme-default .ngdialog-content,
.ngdialog-content {
  border-radius: 4px;
  background: #fefefe;
}
.ngdialog-message > .message {
  margin: 20px 0;
}
.ngdialog.ngdialog-theme-default .ngdialog-close:before {
  font-size: 28px;
}

/* Component: ngTable
----------------------------*/
.ng-table {
  margin-bottom: 0;
}
.ng-table-pager {
  margin-top: 20px;
}
.ng-table-pager .pagination {
  margin: 0;
}

/* Top Navigation
----------------------------*/
.navbar-fixed-top {
  border: 0;
}
.navbar-search {
  border-radius: 18px;
}
@media (min-width: 768px) {
  .navbar-form .form-control.navbar-search {
    width: 360px;
  }
}
@media (max-width: 992px) {
  .navbar-form.navbar-right {
    float: none !important;
  }
  .navbar-form .form-control.navbar-search {
    width: 100% !important;
  }
}

/* Navigation
----------------------------*/
.nav-sidebar {
  margin-right: -21px;
  margin-bottom: 20px;
  margin-left: -20px;
}
.nav-sidebar > li > a {
  padding-right: 20px;
  padding-left: 20px;
}
.nav-sidebar > .active > a,
.nav-sidebar > .active > a:hover,
.nav-sidebar > .active > a:focus {
  color: #fff;
  background-color: #428bca;
}

/* Main Content
----------------------------*/
.main {
  position: absolute;
  top: 51px;
  padding: 20px;
  padding-bottom: 70px;
  min-height: -moz-calc(100% - 51px);
  min-height: -webkit-calc(100% - 51px);
  min-height: calc(100% - 51px);
  height: auto !important;
  height: 100%;
}
@media (min-width: 768px) {
  .main {
    padding-right: 40px;
    padding-left: 40px;
  }
}
@media(max-width: 768px) {
  .main {
    width: 100%;
  }
}
@media (max-width: 992px) {
  .main {
    top: 93px;
    min-height: -moz-calc(100% - 93px);
    min-height: -webkit-calc(100% - 93px);
    min-height: calc(100% - 93px);
  }
}
.main .page-header {
  margin-top: 0;
}
.main .page-footer {
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 10px;
  width: 100%;
  border-top: 1px solid #eee;
  text-align: center;
  background: #fff;
}

/* Placeholder
----------------------------*/
.placeholders {
  margin-bottom: 30px;
  text-align: center;
}
.placeholders h4 {
  margin-bottom: 0;
}
.placeholder {
  margin-bottom: 20px;
}
.placeholder img {
  display: inline-block;
  border-radius: 50%;
}

/* Carousel
----------------------------*/
.carousel-control.left,
.carousel-control.right {
  background: none;
}

/** Widget **/
/* Loading Mask
----------------------------*/
.flyover .loading-mask {
  top: 0;
  left: 0;
  position: fixed;
  width: 100%;
  height: 100%;
  opacity: 0.5;
  background: black;
  z-index: 20170609;
}
.flyover .loading-panel {
  left: 0;
  top: 50%;
  position: fixed;
  width: 100%;
  z-index: 20170610;
}
.flyover .loading-panel .loading-body {
  padding: 15px;
  width: 10em;
  margin: 0 auto;
  border: 1px solid transparent;
  border-radius: 4px;
  color: #777;
  font-weight: bold;
  text-align: center;
  vertical-align: middle;
  background-color: #fefefe;
}

/* Scroll Top
----------------------------*/
.btn-bottom {
  display: none;
  position: fixed;
  right: 15px;
  bottom: 75px;
  z-index: 2017;
}
.btn-bottom .btn-circle {
  width: 50px;
  height: 50px;
  padding: 10px 16px;
  border-radius: 25px;
  font-size: 18px;
  line-height: 1.33;
  text-align: center;
}
